package router

import (
	"api_getway/handler/api"
	"github.com/gin-gonic/gin"
)

func Router(r *gin.Engine) {
	r.POST("order/create", api.CreateOrder)
	r.POST("alipay/callback", api.AlipayCallback)
	r.GET("order/list", api.ListOrderByUserId)
}
